package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Rulecolumn;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface RulecolumnService {

	public Rulecolumn saveRulecolumn(Rulecolumn rulecolumn);

	public Set<Rulecolumn> loadRulecolumns();

	public Set<Rulecolumn> loadReferenceRulecolumns(Set<Rulecolumn> rulecolumns);

	public Set<Rulecolumn> loadRulecolumnsByIdSet(Set<Integer> rulecolumnsId);

	public Map<String, ?> loadRulecolumnObjectReferencedSet(Rulecolumn rulecolumn);

	public Map<String, ?> loadRulecolumnClassReferencedSet(Rulecolumn rulecolumn);

	public void deleteRulecolumn(Rulecolumn rulecolumn);

	public void deleteRulecolumns(Set<Integer> deleteRulecolumnsId);

	public List<Rulecolumn> findAllRulecolumns(Integer startResult, Integer maxRows);

	public Rulecolumn findRulecolumnByPrimaryKey(Integer id);

	public Integer countRulecolumns();

	public Integer countRulecolumns(CmiPagination page);

	public Integer countRulecolumnsByName(String queryName);

	public Integer countRulecolumnsByDetachedCriteria(CmiPagination page);

}
